package com.vpen.account.demo.service;

import com.vpen.account.demo.model.dto.LoginDto;
import org.springframework.security.core.userdetails.UserDetails;

/**
 * 描述
 *
 * @author 韦鹏
 * @date 2022/8/16 14:25
 */
public interface AccountLoginService {

    /**
     * 通过用户名或者手机号获取用户信息
     *
     * @param loginDto -
     * @return com.vpen.account.demo.entity.AccountUser
     * @author 韦鹏
     * @date 2022/8/16 14:39
     **/
    UserDetails getUserByCondition(LoginDto loginDto);
}
